import request from "../../utils/request"

enum API {
	// 会员专区分类栏的接口
	DANCEINFO = "/moment/properties/filter/vip_zone?access_token=c494ae44-3adc-48ca-8749-5128a53358d7",
	// 视频课
	VIDEOINFO = "/moment/properties/filter/video_course?access_token=c494ae44-3adc-48ca-8749-5128a53358d7",
	// 直播课
	LIVEINFO = "/moment/properties/filter/live_course?access_token=c494ae44-3adc-48ca-8749-5128a53358d7",
	// 课程排序
	SORTLIST = "/moment/moments/rec/default?access_token=c494ae44-3adc-48ca-8749-5128a53358d7&column=recommend&pageSize=20&pageNum=1&localCache=0",
}

// 会员专区
export const reqDanceInfo = () => request.get(API.DANCEINFO)

// 视频课
export const reqVideoInfo = () => request.get(API.VIDEOINFO)

// 直播课
export const reqLiveInfo = () => request.get(API.LIVEINFO)

// 课程排序的接口
export const reqSortInfo = () => request.get(API.SORTLIST)
